﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLFacade.entities;

namespace BLFacade.stubs.entites
{
    class FakeTask : ITask
    {

        public string Name
        {
            get
            {
                return "Test Task Name";
            }
            set
            {
                // stub
            }
        }

        public string Description
        {
            get
            {
                return "Test Task Description";
            }
            set
            {
                // stub
            }
        }

        public int LOE
        {
            get { return 23; }
        }

        public DateTime CreateDate
        {
            get
            {
                return DateTime.Now.AddDays(-5);
            }
            set
            {
                // stub
            }
        }

        public Nullable<DateTime> CloseDate
        {
            get
            {
                return DateTime.Now.AddDays(-1);
            }
            set
            {
                // stub
            }
        }


        List<Nullable<DateTime>> _ResolveDates = new List<Nullable<DateTime>>() { DateTime.Now.AddDays(-2) };
        public List<Nullable<DateTime>> ResolveDates
        {
            get { return _ResolveDates; }
        }

        List<DateTime> _StartDates = new List<DateTime>() { DateTime.Now.AddDays(-4) };
        public List<DateTime> StartDates
        {
            get { return _StartDates; }
        }


        public IEmployee Employee
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public IProject Project
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public enums.TaskPriority Priority
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public enums.TaskStatus Status
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public void Start()
        {
            throw new NotImplementedException();
        }

        public void Resolve()
        {
            throw new NotImplementedException();
        }


        int ITask.LOE
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public void Close(bool close)
        {
            throw new NotImplementedException();
        }

        public void Reopen()
        {
            throw new NotImplementedException();
        }
    }
}
